<template>
  <div>
    <detail-banner></detail-banner>
    <detail-header></detail-header>
    <div class="content">
      <detail-list :list="list"></detail-list>
    </div>
  </div>
</template>

<script>
import DetailBanner from './components/Banner'
import DetailHeader from './components/Header'
import DetailList from './components/List'
export default {
  name: 'Detail',
  components: {
    DetailBanner,
    DetailHeader,
    DetailList
  },
  data () {
    return {
      list: [{
        id: '001',
        title: '成人票',
        children: [
          {
            id: '0001',
            title: '成人三馆联票'
          },
          {
            id: '0002',
            title: '成人五馆联票'
          }
        ]
      },
      {
        id: '002',
        title: '学生票'
      },
      {
        id: '003',
        title: '儿童票'
      },
      {
        id: '004',
        title: '特价票'
      }]
    }
  }
}
</script>

<style scoped lang="stylus">
  .content
    height: 50rem
</style>
